package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网站设置对象 sys_site
 * 
 * @author ruoyi
 * @date 2024-08-22
 */
public class SysSite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private String name;

    /**  */
    @Excel(name = "")
    private String host;

    /**  */
    @Excel(name = "")
    private String appcode;

    /**  */
    @Excel(name = "")
    private String phone;

    /**  */
    @Excel(name = "")
    private String email;

    /**  */
    @Excel(name = "")
    private String qq;

    /**  */
    @Excel(name = "")
    private String address;

    /**  */
    @Excel(name = "")
    private String icp;

    /**  */
    @Excel(name = "")
    private String tongji;

    /**  */
    @Excel(name = "")
    private String template;

    /**  */
    @Excel(name = "")
    private String version;

    /**  */
    @Excel(name = "")
    private String keyname;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertdate;

    /**  */
    @Excel(name = "")
    private Integer state;

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setHost(String host) 
    {
        this.host = host;
    }

    public String getHost() 
    {
        return host;
    }

    public void setAppcode(String appcode) 
    {
        this.appcode = appcode;
    }

    public String getAppcode() 
    {
        return appcode;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setQq(String qq) 
    {
        this.qq = qq;
    }

    public String getQq() 
    {
        return qq;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setIcp(String icp) 
    {
        this.icp = icp;
    }

    public String getIcp() 
    {
        return icp;
    }

    public void setTongji(String tongji) 
    {
        this.tongji = tongji;
    }

    public String getTongji() 
    {
        return tongji;
    }

    public void setTemplate(String template) 
    {
        this.template = template;
    }

    public String getTemplate() 
    {
        return template;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    public void setKeyname(String keyname) 
    {
        this.keyname = keyname;
    }

    public String getKeyname() 
    {
        return keyname;
    }

    public void setInsertdate(Date insertdate) 
    {
        this.insertdate = insertdate;
    }

    public Date getInsertdate() 
    {
        return insertdate;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("name", getName())
            .append("host", getHost())
            .append("appcode", getAppcode())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("qq", getQq())
            .append("address", getAddress())
            .append("icp", getIcp())
            .append("tongji", getTongji())
            .append("template", getTemplate())
            .append("version", getVersion())
            .append("keyname", getKeyname())
            .append("insertdate", getInsertdate())
            .append("state", getState())
            .toString();
    }
}
